package com.lboyang;

import com.lboyang.core.annotation.NnziScan;
import com.lboyang.core.annotation.NnziService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Description
 * @Date 2021/9/12 18:20
 * @author: A.iguodala
 */
@NnziScan(basePackage = {"com.lboyang"})
public class Main {

    public static void main(String[] args) throws InterruptedException {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(Main.class);
        HelloController helloController = (HelloController) applicationContext.getBean("helloController");
        helloController.test();
    }
}
